package cn.edu.scau.cmi.linhongyu.composite.consistent;

import java.util.HashSet;
import java.util.Set;

public abstract class ConsistentComponent {
	Set<ConsistentComponent> children=new HashSet<ConsistentComponent>();
	abstract ConsistentComponent addChild(ConsistentComponent child);
	abstract ConsistentComponent deleteChild(ConsistentComponent child);
	abstract Set<ConsistentComponent> getChildren();

}
